/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * ViewAllStaff.java
 *
 * Created on Oct 26, 2010, 5:07:34 PM
 */

package matchmakingsystem;
import java.awt.Color;
import javax.swing.JOptionPane;
import java.sql.*;
import javax.swing.JTable;
import javax.swing.table.AbstractTableModel;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
 *
 * @author Ducky
 */
public class ViewAllStaff extends javax.swing.JFrame {
    private Connection con;
    private Statement stmt;
    int countRowControl = 0;
    int countColumnControl = 0;
    /** Creates new form ViewAllStaff */

    public ViewAllStaff()
    {
        initComponents();
        jCheckBox1.setSelected(true);
        jCheckBox1.setEnabled(false);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLayeredPane1 = new javax.swing.JLayeredPane();
        jPanel1 = new javax.swing.JPanel();
        jPanel2 = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTable1 = new javax.swing.JTable();
        jLayeredPane3 = new javax.swing.JLayeredPane();
        backButton = new javax.swing.JLabel();
        viewButton = new javax.swing.JLabel();
        jCheckBox1 = new javax.swing.JCheckBox();
        jCheckBox2 = new javax.swing.JCheckBox();
        jCheckBox3 = new javax.swing.JCheckBox();
        jCheckBox4 = new javax.swing.JCheckBox();
        jCheckBox5 = new javax.swing.JCheckBox();
        jCheckBox6 = new javax.swing.JCheckBox();
        jCheckBox7 = new javax.swing.JCheckBox();
        jCheckBox8 = new javax.swing.JCheckBox();
        jCheckBox9 = new javax.swing.JCheckBox();
        jLabel1 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jPanel1.setBackground(new java.awt.Color(89, 90, 94));

        jPanel2.setBackground(new java.awt.Color(89, 90, 94));
        jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(null, "View Employee List", javax.swing.border.TitledBorder.LEFT, javax.swing.border.TitledBorder.ABOVE_TOP, new java.awt.Font("Tahoma", 1, 14), new java.awt.Color(255, 255, 255))); // NOI18N

        jTable1.setAutoCreateRowSorter(true);
        jTable1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ) {
            boolean[] canEdit = new boolean [] {
                false, false, false, false
            };

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jTable1.setColumnSelectionAllowed(true);
        jTable1.setDragEnabled(true);
        jTable1.setFillsViewportHeight(true);
        jScrollPane1.setViewportView(jTable1);

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 962, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 410, Short.MAX_VALUE)
        );

        backButton.setFont(new java.awt.Font("Tahoma", 1, 12));
        backButton.setForeground(new java.awt.Color(255, 255, 255));
        backButton.setText("Back");
        backButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        backButton.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                backButtonMouseClicked(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                backButtonMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                backButtonMouseExited(evt);
            }
        });

        viewButton.setFont(new java.awt.Font("Tahoma", 1, 12));
        viewButton.setForeground(new java.awt.Color(255, 255, 255));
        viewButton.setText("View ");
        viewButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        viewButton.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                viewButtonMouseClicked(evt);
            }
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                viewButtonMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                viewButtonMouseExited(evt);
            }
        });

        jCheckBox1.setBackground(new java.awt.Color(89, 90, 94));
        jCheckBox1.setForeground(new java.awt.Color(255, 255, 255));
        jCheckBox1.setText("Employee Code");

        jCheckBox2.setBackground(new java.awt.Color(89, 90, 94));
        jCheckBox2.setForeground(new java.awt.Color(255, 255, 255));
        jCheckBox2.setText("Name");

        jCheckBox3.setBackground(new java.awt.Color(89, 90, 94));
        jCheckBox3.setForeground(new java.awt.Color(255, 255, 255));
        jCheckBox3.setText("NRIC");

        jCheckBox4.setBackground(new java.awt.Color(89, 90, 94));
        jCheckBox4.setForeground(new java.awt.Color(255, 255, 255));
        jCheckBox4.setText("Gender");

        jCheckBox5.setBackground(new java.awt.Color(89, 90, 94));
        jCheckBox5.setForeground(new java.awt.Color(255, 255, 255));
        jCheckBox5.setText("Race");

        jCheckBox6.setBackground(new java.awt.Color(89, 90, 94));
        jCheckBox6.setForeground(new java.awt.Color(255, 255, 255));
        jCheckBox6.setText("Religion");

        jCheckBox7.setBackground(new java.awt.Color(89, 90, 94));
        jCheckBox7.setForeground(new java.awt.Color(255, 255, 255));
        jCheckBox7.setText("Contact No.");

        jCheckBox8.setBackground(new java.awt.Color(89, 90, 94));
        jCheckBox8.setForeground(new java.awt.Color(255, 255, 255));
        jCheckBox8.setText("Address");

        jCheckBox9.setBackground(new java.awt.Color(89, 90, 94));
        jCheckBox9.setForeground(new java.awt.Color(255, 255, 255));
        jCheckBox9.setText("Cases");

        jLabel1.setFont(new java.awt.Font("Tahoma", 2, 12)); // NOI18N
        jLabel1.setForeground(new java.awt.Color(255, 255, 255));
        jLabel1.setText("*Sort the tables ascending or descending by clicking the table column name");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(18, 18, 18)
                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(486, 486, 486)
                .addComponent(jLayeredPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 190, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(57, 57, 57)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                        .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 436, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 396, Short.MAX_VALUE)
                        .addComponent(viewButton)
                        .addGap(18, 18, 18)
                        .addComponent(backButton)
                        .addGap(710, 710, 710))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(jCheckBox1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jCheckBox2)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jCheckBox3)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jCheckBox4)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jCheckBox5)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jCheckBox6)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jCheckBox7)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jCheckBox8)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jCheckBox9)
                        .addContainerGap(358, Short.MAX_VALUE))))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addContainerGap(38, Short.MAX_VALUE)
                .addComponent(jLayeredPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 208, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(344, 344, 344))
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jCheckBox1)
                    .addComponent(jCheckBox2)
                    .addComponent(jCheckBox3)
                    .addComponent(jCheckBox4)
                    .addComponent(jCheckBox5)
                    .addComponent(jCheckBox6)
                    .addComponent(jCheckBox7)
                    .addComponent(jCheckBox8)
                    .addComponent(jCheckBox9))
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGap(26, 26, 26)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(backButton)
                            .addComponent(viewButton)))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGap(18, 18, 18)
                        .addComponent(jLabel1)))
                .addContainerGap(55, Short.MAX_VALUE))
        );

        jPanel1.setBounds(0, 0, 1010, 590);
        jLayeredPane1.add(jPanel1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLayeredPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 1010, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLayeredPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 591, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents
//***************************** SETTING UP TABLE ********************************************
     NewTableModel newTable1 = new NewTableModel();

     public void setTable()
    {
        jTable1.setModel(newTable1);
    }
//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*



//***************************** RETRIEVING DATA FROM DATABASE *******************************
     private ResultSet getResultSet(String doubt)
    {
        connectDatabase();
        ResultSet outcome = null;
        try
        {
            stmt = con.createStatement();
            outcome = stmt.executeQuery(doubt);
        }
        catch (SQLException ex)
        {
            Logger.getLogger(Staff.class.getName()).log(Level.SEVERE, null, ex);
        }
        return outcome;
    }
//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*



//***************************** CONNECTING DATABASE *****************************************
     private void connectDatabase()
    {
        try
        {
            Class.forName("oracle.jdbc.OracleDriver");
            con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE", "mms", "mms");
        }

        catch (ClassNotFoundException ex)
        {
            Logger.getLogger(Staff.class.getName()).log(Level.SEVERE, null, ex);
        }
        catch (SQLException ex)
        {
            Logger.getLogger(Staff.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
//*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*




    private void backButtonMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_backButtonMouseClicked
        Staff newGUI = new Staff();
        newGUI.show();
        newGUI.setSize(890, 750);
        newGUI.setResizable(false);

        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        Dimension windowSize = newGUI.getSize();

        int windowX = Math.max(0, (screenSize.width  - windowSize.width ) / 2);
        int windowY = Math.max(0, (screenSize.height - windowSize.height) / 2);

        newGUI.setLocation(windowX, windowY);
        newGUI.show();
        this.dispose();
}//GEN-LAST:event_backButtonMouseClicked

    private void viewButtonMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_viewButtonMouseClicked
        String str = "";
        int count=0;
        boolean [] check= new boolean[16];
        for(int k = 0; k < 16; k++)
            check[k] = false;

        if (jCheckBox1.isSelected())
            str = "EMP_CODE";
        if (jCheckBox2.isSelected())
            str = str+",EMP_NAME";
        if (jCheckBox3.isSelected())
            str = str+",EMP_IC,EMP_DOB,EMP_NATIONALITY";
        if (jCheckBox4.isSelected())
            str = str+",EMP_GENDER";
        if (jCheckBox5.isSelected())
            str = str+",EMP_RACE";
        if (jCheckBox6.isSelected())
            str = str+",EMP_RELIGION";
        if (jCheckBox7.isSelected())
            str = str+",EMP_CONTACT";
        if (jCheckBox8.isSelected())
            str = str+",EMP_ADDRESS";
        if (jCheckBox9.isSelected())
            str = str+",EMP_INDATE,EMP_TOTALSUCCESSCASE,EMP_TOTALFAILEDCASE,EMP_TOTALCASE,EMP_TOTAPAYMENT";

        //System.out.print(str);

        if (jCheckBox1.isSelected()){
            check[0] = true;
            count++;}
        if (jCheckBox2.isSelected()){
            check[1] = true;
            count++;}
        if (jCheckBox3.isSelected()){
            check[2] = check[3] = check[4] = true;
            count++;
            count++;
            count++;}
        if (jCheckBox4.isSelected()){
            check[5] = true;
            count++;}
        if (jCheckBox5.isSelected()){
            check[6] = true;
            count++;}
        if (jCheckBox6.isSelected()){
            check[7] = true;
            count++;}
        if (jCheckBox7.isSelected()){
            check[8] = true;
            count++;}
        if (jCheckBox8.isSelected()){
            check[9]= true;
            count++;}
        if (jCheckBox9.isSelected()){
            check[10] = check[11] = check[12] = check[13] = check[14] = true;
            count++;
            count++;
            count++;
            count++;
            count++;}

    //    System.out.println(count);

        NewTableModel newTable1 = new NewTableModel();

        int countRow = 0;
        int countColumn = 0;
        int countRowControl = 0;

        connectDatabase();
        try {

           // System.out.println("connected");

            Statement stmt = con.createStatement();
            ResultSet rset = stmt.executeQuery("SELECT "+str+" FROM EMPLOYEE");



            //creating 2d arrays of appropriate size according to database
            while (rset.next()){
                countRow++;
            }

            ResultSetMetaData metadata = rset.getMetaData();
            countColumn = metadata.getColumnCount();

            newTable1.setDataSize(countRow, count);
            newTable1.setColumnNameSize();
            //end

            //adding column names to table model
            DatabaseMetaData meta = con.getMetaData();

            ResultSet rset2 = meta.getColumns(null, null, "EMPLOYEE", null);

            int loop=0;
            if (jCheckBox1.isSelected()){
                newTable1.setColumnName(loop, "EMPLOYEE CODE");
                loop++;
            }
            if (jCheckBox2.isSelected()){
                newTable1.setColumnName(loop, "NAME");
                loop++;
            }
            if (jCheckBox3.isSelected()){
                newTable1.setColumnName(loop, "IC NUMBER");
                loop++;
                newTable1.setColumnName(loop, "DATE OF BIRTH");
                loop++;
                newTable1.setColumnName(loop, "NATIONALITY");
                loop++;
            }
            if (jCheckBox4.isSelected()){
                newTable1.setColumnName(loop, "GENDER");
                loop++;
            }
            if (jCheckBox5.isSelected()){
                newTable1.setColumnName(loop, "RACE");
                loop++;
            }
            if (jCheckBox6.isSelected()){
                newTable1.setColumnName(loop, "RELIGION");
                loop++;
            }
            if (jCheckBox7.isSelected()){
                newTable1.setColumnName(loop, "CONTACT NUMBER");
                loop++;
            }
            if (jCheckBox8.isSelected()){
                newTable1.setColumnName(loop, "ADDRESS");
                loop++;
            }
            if (jCheckBox9.isSelected()){
                newTable1.setColumnName(loop, "DATE JOINED");
                loop++;
                newTable1.setColumnName(loop, "TOTAL SUCCESS CASE");
                loop++;
                newTable1.setColumnName(loop, "TOTAL FAILED CASE");
                loop++;
                newTable1.setColumnName(loop, "TOTAL CASE");
                loop++;
                newTable1.setColumnName(loop, "TOTA PAYMENT");
                loop++;
            }

            rset = stmt.executeQuery("SELECT "+str+" FROM EMPLOYEE");

            while(rset.next()){

                if (jCheckBox1.isSelected()){
                    newTable1.addString(countRowControl, countColumnControl, rset.getString("EMP_CODE"));
                    countColumnControl++;
                }
                if (jCheckBox2.isSelected()){
                    newTable1.addString(countRowControl, countColumnControl, rset.getString("EMP_NAME"));
                    countColumnControl++;
                }
                if (jCheckBox3.isSelected()){
                    newTable1.addString(countRowControl, countColumnControl, rset.getString("EMP_IC"));
                    countColumnControl++;
                    newTable1.addString(countRowControl, countColumnControl, rset.getString("EMP_DOB"));
                    countColumnControl++;
                    newTable1.addString(countRowControl, countColumnControl, rset.getString("EMP_NATIONALITY"));
                    countColumnControl++;
                }
                if (jCheckBox4.isSelected()){
                    newTable1.addString(countRowControl, countColumnControl, rset.getString("EMP_GENDER"));
                    countColumnControl++;
                }
                if (jCheckBox5.isSelected()){
                    newTable1.addString(countRowControl, countColumnControl, rset.getString("EMP_RACE"));
                    countColumnControl++;
                }
                if (jCheckBox6.isSelected()){
                    newTable1.addString(countRowControl, countColumnControl, rset.getString("EMP_RELIGION"));
                    countColumnControl++;
                }
                if (jCheckBox7.isSelected()){
                    newTable1.addString(countRowControl, countColumnControl, rset.getString("EMP_CONTACT"));
                    countColumnControl++;
                }
                if (jCheckBox8.isSelected()){
                    newTable1.addString(countRowControl, countColumnControl, rset.getString("EMP_ADDRESS"));
                    countColumnControl++;
                }
                if (jCheckBox9.isSelected()){
                    newTable1.addString(countRowControl, countColumnControl, rset.getString("EMP_INDATE"));
                    countColumnControl++;
                     newTable1.addString(countRowControl, countColumnControl, rset.getString("EMP_TOTALSUCCESSCASE"));
                    countColumnControl++;
                     newTable1.addString(countRowControl, countColumnControl, rset.getString("EMP_TOTALFAILEDCASE"));
                    countColumnControl++;
                     newTable1.addString(countRowControl, countColumnControl, rset.getString("EMP_TOTALCASE"));
                    countColumnControl++;
                     newTable1.addString(countRowControl, countColumnControl, rset.getString("EMP_TOTALPAYMENT"));
                    countColumnControl++;
                }
                countColumnControl = 0;
                countRowControl++;

            }
        }

        catch (Exception e){
            System.out.println("error");
        }


        jTable1.setModel(newTable1);
        jTable1.show();
}//GEN-LAST:event_viewButtonMouseClicked

    private void viewButtonMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_viewButtonMouseEntered
        viewButton.setForeground(Color.yellow);
    }//GEN-LAST:event_viewButtonMouseEntered

    private void viewButtonMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_viewButtonMouseExited
        viewButton.setForeground(Color.white);
    }//GEN-LAST:event_viewButtonMouseExited

    private void backButtonMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_backButtonMouseEntered
        backButton.setForeground(Color.yellow);
    }//GEN-LAST:event_backButtonMouseEntered

    private void backButtonMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_backButtonMouseExited
        backButton.setForeground(Color.white);
    }//GEN-LAST:event_backButtonMouseExited

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new ViewAllStaff().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel backButton;
    private javax.swing.JCheckBox jCheckBox1;
    private javax.swing.JCheckBox jCheckBox2;
    private javax.swing.JCheckBox jCheckBox3;
    private javax.swing.JCheckBox jCheckBox4;
    private javax.swing.JCheckBox jCheckBox5;
    private javax.swing.JCheckBox jCheckBox6;
    private javax.swing.JCheckBox jCheckBox7;
    private javax.swing.JCheckBox jCheckBox8;
    private javax.swing.JCheckBox jCheckBox9;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLayeredPane jLayeredPane1;
    private javax.swing.JLayeredPane jLayeredPane3;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel15;
    private javax.swing.JPanel jPanel16;
    private javax.swing.JPanel jPanel17;
    private javax.swing.JPanel jPanel18;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane6;
    private javax.swing.JScrollPane jScrollPane7;
    private javax.swing.JTable jTable1;
    private javax.swing.JTable jTable2;
    private javax.swing.JTable jTable3;
    private javax.swing.JLabel viewButton;
    // End of variables declaration//GEN-END:variables

}
